#ifndef CONFIG_H
#define CONFIG_H

#define MAINWINDOW_HEIGHT 700
#define MAINWINDOW_WIDTH 1380
#define TOP 43
#define DOWN 48
#define LEFT 50

#define attacker1 ":/pictures/tower/tower1.png"
#define attacker2 ":/pictures/tower/tower2.png"
#define attacker3 ":/pictures/tower/tower3.png"
#define attacker4 ":/pictures/tower/tower4.png"
#define attacker5 ":/pictures/tower/tower5.png"

#define ATTACKER_WIDTH 80
#define ATTACKER_HEIGHT 40
#define ATTACKER_DAMAGE 10
#define ATTACKER_DISCOVERY 400
#define ATTACKER_FIRE_INTERVAL 1000
#define ATTACKER_VELOCITY_ROTATION 180
#define ATTACKER_PRICE 20

#define ATTACKER1_WIDTH 100
#define ATTACKER1_HEIGHT 54
#define ATTACKER1_DAMAGE 15
#define ATTACKER1_DISCOVERY 600
#define ATTACKER1_FIRE_INTERVAL 1000
#define ATTACKER1_VELOCITY_ROTATION 50
#define ATTACKER1_PRICE 30

#define ATTACKER2_WIDTH 120
#define ATTACKER2_HEIGHT 77
#define ATTACKER2_DAMAGE 20
#define ATTACKER2_DISCOVERY 800
#define ATTACKER2_FIRE_INTERVAL 1000
#define ATTACKER2_VELOCITY_ROTATION 50
#define ATTACKER2_PRICE 40

#define ATTACKER3_WIDTH 120
#define ATTACKER3_HEIGHT 77
#define ATTACKER3_DAMAGE 5
#define ATTACKER3_DISCOVERY 800
#define ATTACKER3_FIRE_INTERVAL 200
#define ATTACKER3_VELOCITY_ROTATION 50
#define ATTACKER3_PRICE 60

#define ATTACKER4_WIDTH 88
#define ATTACKER4_HEIGHT 70
#define ATTACKER4_DAMAGE 5
#define ATTACKER4_DISCOVERY 400
#define ATTACKER4_FIRE_INTERVAL 1000
#define ATTACKER4_VELOCITY_ROTATION 50
#define ATTACKER4_PRICE 50

//敌人数据
#define ENEMY_TYPE 10
#define ENEMY_1_WIDTH 40
#define ENEMY_1_HEIGHT 48
#define ENEMY_1_LIFE 200
#define ENEMY_1_VELOCITY 60
#define ENEMY_2_WIDTH 103
#define ENEMY_2_HEIGHT 97
#define ENEMY_2_LIFE 240
#define ENEMY_2_VELOCITY 50
#define ENEMY_3_WIDTH 52
#define ENEMY_3_HEIGHT 51
#define ENEMY_3_LIFE 240
#define ENEMY_3_VELOCITY 70
#define ENEMY_4_WIDTH 77
#define ENEMY_4_HEIGHT 90
#define ENEMY_4_LIFE 300
#define ENEMY_4_VELOCITY 55
#define ENEMY_5_WIDTH 43
#define ENEMY_5_HEIGHT 56
#define ENEMY_5_LIFE 260
#define ENEMY_5_VELOCITY 70
#define ENEMY_6_WIDTH 101
#define ENEMY_6_HEIGHT 80
#define ENEMY_6_LIFE 320
#define ENEMY_6_VELOCITY 60
#define ENEMY_7_WIDTH 80
#define ENEMY_7_HEIGHT 126
#define ENEMY_7_LIFE 220
#define ENEMY_7_VELOCITY 80
#define ENEMY_8_WIDTH 52
#define ENEMY_8_HEIGHT 42
#define ENEMY_8_LIFE 240
#define ENEMY_8_VELOCITY 80
#define ENEMY_9_WIDTH 102
#define ENEMY_9_HEIGHT 129
#define ENEMY_9_LIFE 340
#define ENEMY_9_VELOCITY 80
#define ENEMY_10_WIDTH 102
#define ENEMY_10_HEIGHT 217
#define ENEMY_10_LIFE 400
#define ENEMY_10_VELOCITY 80

//子弹数据
#define BULLET_WIDTH 20
#define BULLET_VELOCITY 400
#define BULLET1_WIDTH 25
#define BULLET1_VELOCITY 600
#define BULLET2_WIDTH 30
#define BULLET2_VELOCITY 800
#define BULLET3_WIDTH 20
#define BULLET3_VELOCITY 1500
#define BULLET4_WIDTH 25
#define BULLET4_VELOCITY 400
#define BULLET4_SLOWER 10

#endif // CONFIG_H
